import request from "@/utils/request";

export function getSysLogList(pageNum, pageSize, userName, dateRange) {
  if (dateRange===null || dateRange===undefined) {
    dateRange=[];
  }
  return request({
    url: `/sysLog/getSysLogList`,
    method: "post",
    data: dateRange,
    params: {
      pageNum: pageNum,
      pageSize: pageSize,
      userName: userName
    }
  });
}
